<div class="main-video">
    <video id="my-video" class="video-js" controls preload="auto"
           poster="__EDU__/index/bg.jpg" data-setup="{}">
        <source src="{$video.url}">
        <p class="vjs-no-js">
            <a href="http://videojs.com/html5-video-support/" target="_blank">supports HTML5 video</a>
        </p>
    </video>
</div>
<script>videojs.options.flash.swf = "video-js.swf"</script>